﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RaygunDiplomacy.Entities
{
   public interface IEntityComponent
   {
      void Update(TimeSpan elapsed, DateTime current);
      IEnumerable<IEntityCommand> GetCommands();
   }

   public interface IEntityComposite : IEntityComponent
   {
      void Add(IEntityComponent component);
      void Remove(IEntityComponent component);
      void Remove(string componentName);
   }
}
